FROM registry.cn-shenzhen.aliyuncs.com/kulalasmile/openjdk:8-jdk-alpine
VOLUME /tmp
ARG JAR_FILE=./*.jar
COPY ${JAR_FILE} app.jar
ENV TZ 'Asia/Shanghai'
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN sh -c 'touch app.jar'
ENTRYPOINT exec java -Dfile.encoding=UTF-8 -jar app.jar